﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InfrastructureBase.Data
{
    public class IFreeSqlConfig
    {
        public string DefaultDB { get; set; }

        public List<IFreeSqlDbConfig> DBConfigs { get; set; }
    }

    public class IFreeSqlDbConfig
    {
        /// <summary>
        /// 数据库名称
        /// </summary>
        public string ConnId { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>
        public int? DataType { get; set; }

        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public string ConnectionString { get; set; }
    }
}
